#ifndef __FRAME_H__
#define __FRAME_H__
#include "stdint.h"
#include "Frame_io.h"
#include "Frame_Key.h"
extern uint32_t gFrame_TimeCNT;

#define FRAME_TIMEBASE(ms)                  gFrame_TimeCNT+=ms
#define FRAME_GETTIME()                     gFrame_TimeCNT
#define FRAME_TIMEOUT(timeOut,startTime)    ((gFrame_TimeCNT-startTime)>=timeOut?1:0)


#endif